<table>
<thead>
<tr>
	<td colspan="4">
	<?php echo $params['header'] ?>
	</td>
</tr>
<tr>
	<td>
		To:
	</td>
	<td colspan="3">
		<?php echo $params['to'] ?>
	</td>
</tr>
<tr>
	<td>
		Attn:
	</td>
	<td>
		<?php echo CHtml::encode($params['attn']); ?>
	</td>
	<td>
		From:
	</td>
	<td>
		<?php echo CHtml::encode($params['user']); ?>
	</td>
</tr>
<tr>
	<td colspan="4">
	</td>
</tr>
<tr>
	<td>
		Subject
	</td>
	<td colspan="3">
		<?php echo CHtml::encode($params['subject']); ?>
	</td>
</tr>
</thead>
<tbody>
	<tr>
		<td>
			//Nuthing
		</td>
		<td>
			<table>
				<thead>
					<tr>
						<td>
							CMU 
							MA
						</td>
						<td>
							Measurement
						</td>
						<td>
							Package
						</td>
						<td>
							Weight
						</td>
					</tr>
				</thead>
				<tbody>
				<?php foreach($params['item'] as $item):?>
					<tr>
						<td>
							<?php echo CHtml::encode($item['marking']); ?>
						</td>
						<td>
							<?php echo CHtml::encode($item['measurement']); ?>
						</td>
						<td>
							<?php echo CHtml::encode($item['pkg']); ?>
						</td>
						<td>
							<?php echo CHtml::encode($item['wt']); ?>
						</td>
					</tr>
				<?php endforeach; ?>
				</tbody>
			</table>
		</td>
	</tr>
</tbody>
</table>